﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Counters">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Counter" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CounterObject" type="xs:string" />
              <xs:element name="CounterName" type="xs:string" />
              <xs:element name="ParentCounterObject" type="xs:string" nillable="true" />
              <xs:element name="ParentCounterName" type="xs:string" nillable="true"/>
              <xs:element name="ParentCounterFormula" type="xs:string" nillable="true"/>
              <xs:element name="CounterThresholds">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Red" type="xs:string" nillable="true"/>
                    <xs:element name="Orange" type="xs:string" nillable="true"/>
                    <xs:element name="Green" type="xs:string" nillable="true"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="CounterDescription" type="xs:string" nillable="true" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>